package c.e.a.c.w;

import android.view.View;
import android.view.View.OnLayoutChangeListener;
import com.google.android.material.tabs.TabLayout.i;

/* compiled from: TabLayout */
public class a implements OnLayoutChangeListener {
    public final /* synthetic */ View a;
    public final /* synthetic */ i b;

    public a(i iVar, View view) {
        this.b = iVar;
        this.a = view;
    }

    public void onLayoutChange(View view, int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8) {
        if (this.a.getVisibility() == 0) {
            i iVar = this.b;
            View view2 = this.a;
            i2 = i.l;
            iVar.f(view2);
        }
    }
}
